package DAO;

import BasicClass.Record;
import BasicClass.User;

import java.util.ArrayList;

public interface RecordDao extends Dao{
    public void addRecord(Record record) throws DaoException;
    public void updateRecord(Record record, int[] ChangeList) throws DaoException;
    public void deleteRecord(Record record) throws DaoException;
    public ArrayList<Record> getRecord(User Account, Record record, int choose) throws DaoException;
    public ArrayList<Record> getAllRecord() throws DaoException;
}
